package demo.standard;

public class ConcreteObserverA implements IObserver {

    private ConcreteSubject subject;

    public ConcreteObserverA(ConcreteSubject subject) {
        this.subject = subject;
    }

    @Override
    public void receiveNotify() {
        System.out.println("观察者A接收到该主题的通知:" + subject.getClass().getSimpleName());
    }


}
